package com.rp.configure.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author vicente
 * @since 2021-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="GatewayTypeAttribute对象", description="")
public class GatewayTypeAttribute extends Model<GatewayTypeAttribute> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "网关类型id")
    private String gatewayTypeId;

    @ApiModelProperty(value = "属性")
    private String attribute;

    @ApiModelProperty(value = "是否可以操作")
    private String isOpertion;

    @ApiModelProperty(value = "是否可读")
    private String isW;

    @ApiModelProperty(value = "是否可写")
    private String isR;

    @ApiModelProperty(value = "描述")
    private String depiction;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
